package com.lihao.sam.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author Qinheyun
 * @Description: 公寓维修验收表
 */
@Data
@NoArgsConstructor
public class MaintainExamine {
    /** 序号*/
    private Integer id;

    /** 验收情况*/
    private String situation;

    /** 验收人*/
    private String inspectName;

    /** 验收时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date etime;

    public MaintainExamine(String situation, String inspectName) {
        this.situation = situation;
        this.inspectName = inspectName;
    }
}
